import { Module } from '@nestjs/common';
import { DataGeneratorService } from './data-generator.service';
import { ServersModule } from '../servers/servers.module';
import { ProjectsModule } from '../projects/projects.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ServerMetric } from '../entities/server-metric.entity';
import { ProjectMetric } from '../entities/project-metric.entity';
import { EventLog } from '../entities/event-log.entity';
import { Alert } from '../entities/alert.entity';

@Module({
  imports: [
    ServersModule,
    ProjectsModule,
    TypeOrmModule.forFeature([ServerMetric, ProjectMetric, EventLog, Alert]),
  ],
  providers: [DataGeneratorService],
  exports: [DataGeneratorService],
})
export class DataGeneratorModule {}